#if !defined(AFX_OPENGLDIALOGDLG_H__920A32A4_A76B_48E8_AE75_0942A4B378C2__INCLUDED_)
#define AFX_OPENGLDIALOGDLG_H__920A32A4_A76B_48E8_AE75_0942A4B378C2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "resource.h"  
#include "OpenGLControl.h"
 
class CLego_3Ddoc;
class CLego_3Dview;

class CDLG_CubeAnalyzer : public CDialog
{
public:
	enum { IDD = IDD_DLG_CUBE_ANALYZER };
	CDLG_CubeAnalyzer(CWnd* pParent = NULL, CLego_3Dview *pView = NULL);
	CDLG_CubeAnalyzer(CLego_3Dview *pView);
	void Re_display();
	virtual BOOL OnInitDialog();
	CLego_3Dview	*m_pView; 
	CLego_3Ddoc		*m_pDoc;
	
protected:
	virtual void DoDataExchange(CDataExchange* pDX);
	//}}AFX_VIRTUAL
	CEdit EDTMaxDepthOctree;
	CButton CHKDrawOctree;
protected:
	HICON m_hIcon;
	COpenGLControl openGLControl;
	

	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBuildOcTreePartition();
	afx_msg void OnCHKDrawOcTreePartition();
	afx_msg void OnBtnWatchPickedCube();
	afx_msg void OnOk();
	
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#endif // !defined(AFX_OPENGLDIALOGDLG_H__920A32A4_A76B_48E8_AE75_0942A4B378C2__INCLUDED_)
